<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:s="http://jboss.org/schema/seam/taglib">
    
    <div>
        <s:label id="inputLabel">
            <ui:insert name="label"/>:
        </s:label>
    </div>
    
    <div class="hilite">
        <s:span styleClass="#{invalid ? 'errors' : ''}" id="input">
            <s:validateAll>
                <ui:insert/>
            </s:validateAll>
        </s:span>
        <s:span rendered="#{invalid}" styleClass="errors" id="inputError">
            &#160;Error:&#160;
            <s:message/>
        </s:span>
    </div>
    
</ui:composition>